/*
 * File      : board.c
 * This file is part of RT-Thread RTOS
 * COPYRIGHT (C) 2006, RT-Thread Develop Team
 *
 * The license and distribution terms for this file may be
 * found in the file LICENSE in this distribution or at
 * http://openlab.rt-thread.com/license/LICENSE
 *
 * Change Logs:
 * Date           Author       Notes
 * 2006-09-23     Bernard      first version
 * 2006-09-24     Bernard      add rt_hw_finsh_init implementation
 */
#include <rtthread.h>
#include <rthw.h>
#include <S3C44B0X.h>

/**
 * @addtogroup wh44b0
 */
/*@{*/

void HandlerTICK(int vector)
{
	rt_tick_increase();
}



/**
 * This function will init lumit4510 board
 */
void rt_hw_board_init()
{
    pRTC->TICINT = (0x80) | (1);
	rt_hw_interrupt_install(0x14, HandlerTICK, RT_NULL);
	rt_hw_interrupt_umask(0x14);
}



/*@}*/
